package ru.sstu.renju.config;

import ru.sstu.renju.core.Player;
import ru.sstu.renju.ui.renderers.GameRenderer;

/**
 * <code>Config</code> class just holds game configuration settings.
 *
 * @author denis_murashev
 * @since Renju 1.0
 */
public class Config {

	private Player blackPlayer = ConfigConsts.PLAYERS.get(0);
	private Player whitePlayer = ConfigConsts.PLAYERS.get(0);
	private GameRenderer renderer = ConfigConsts.RENDERERS.get(0);
	private long moveDelay;

	/**
	 * @return the blackPlayer
	 */
	public Player getBlackPlayer() {
		return blackPlayer;
	}

	/**
	 * @param blackPlayer the blackPlayer to set
	 */
	public void setBlackPlayer(Player blackPlayer) {
		this.blackPlayer = blackPlayer;
	}

	/**
	 * @return the whitePlayer
	 */
	public Player getWhitePlayer() {
		return whitePlayer;
	}

	/**
	 * @param whitePlayer the whitePlayer to set
	 */
	public void setWhitePlayer(Player whitePlayer) {
		this.whitePlayer = whitePlayer;
	}

	/**
	 * @return the renderer
	 */
	public GameRenderer getRenderer() {
		return renderer;
	}

	/**
	 * @param renderer the renderer to set
	 */
	public void setRenderer(GameRenderer renderer) {
		this.renderer = renderer;
	}

	/**
	 * @return the moveDelay
	 */
	public long getMoveDelay() {
		return moveDelay;
	}

	/**
	 * @param moveDelay the moveDelay to set
	 */
	public void setMoveDelay(long moveDelay) {
		this.moveDelay = moveDelay;
	}
}
